home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / WIN / VB_CTRLS / OPENDLG.ZIP / OPENDLG.DOC < prev    next >
Encoding:
Text File  |  1992-08-22  |  4.9 KB  |  111 lines

  1.  
  2. Opendlg.vbx - A custom control which encapsulates the Common Dialog
  3.               Open and Save As dialogs which come with Windows 3.1
  4.  
  5. Opendlg.frm - A sample form which demonstrates the use of Opendlg.vbx
  6.  
  7.  
  8. BE AWARE, FREEWARE:
  9.  
  10.    You are free to make whatever use you want of OPENDLG.VBX. Naturally
  11.    there is no waranty of any kind associated with this software, use
  12.    at your own risk.
  13.  
  14.  
  15.  
  16. ************************ OPENDLG CONTROL PROPERTIES ************************
  17.  
  18. Property        Type    Function
  19. ==============  ======  ====================================================
  20. Filter          String  At the bottom-left of the Open and Save As Common
  21.                         Dialogs there is a drop-down listbox which allows
  22.                         the user to select what type of files to display
  23.                         in the 'File Name' combo-box.
  24.  
  25.                         If the filter contains:
  26.  
  27.                         Write Files(*.WRI)|*.wri|Word Files(*.DOC)|*.doc|
  28.  
  29.                         The 'File Name' box will display files having an
  30.                         extension of either 'wri' or 'doc'.
  31.  
  32.                         If the filter contains:
  33.  
  34.                         A Files (*.A)|*.a|B Files(*.B)|*.b|C Files(*.C)|*.c|
  35.  
  36.                         The 'File Name' box will display files having an
  37.                         extension of either 'a', 'b', or 'c'.
  38.  
  39. FilterIndex     Integer A filter string specifies one or more file types.
  40.                         The 'FilterIndex' property determines which file
  41.                         type will initially be presented in the 'File
  42.                         Name' combo-box. In the previous example a value
  43.                         of 3 for this property would open the dialog box
  44.                         with all files having the extension 'c'.
  45.  
  46. File            String  When using the Open dialog this property will contain
  47.                         the full pathname of the user-selected file.
  48.                         When using the Save As dialog you may initialize this
  49.                         property with a default 'Save As' pathname.
  50.  
  51. FileTitle       String  This property contains the filename part of the
  52.                         'File' property.
  53.  
  54. InitialDir      String  You may set this property to select the initial
  55.                         directory presented in the dialog box. If you do
  56.                         not set this property the current directory will
  57.                         be used.
  58.  
  59. Title           String  The dialog box title defaults to either 'Open' or
  60.                         'Save As', you may choose a different title for the
  61.                         dialog box by setting this property.
  62.  
  63. DefaultExt      String  The 'Open' or 'Save As' dialogs append this string
  64.                         to the filename if the user fails to enter and
  65.                         extension.
  66.  
  67. DoIt            Bool    Setting this property to TRUE invokes the dialog box,
  68.                         when the statement which sets this property completes
  69.                         the user will have closed the dialog box.
  70.  
  71. CreatePrompt    Bool    Setting this property to TRUE causes the dialog box
  72.                         to generate a message box to notify the user when
  73.                         a specified file does not exist and to make it
  74.                         possible for the user to specify that the file
  75.                         should be created.
  76.  
  77. HideReadOnly    Bool    Setting this property to TRUE hides the Read Only
  78.                         check box.
  79.  
  80. FileMustExist   Bool    Setting this property to TRUE specifies that the
  81.                         user can type only the names of existing files in
  82.                         the File Name edit control.
  83.  
  84. OverwritePrompt Bool    Setting this property to TRUE causes the Save As
  85.                         dialog box to generate a message box if the
  86.                         selected file already exists. The user must confirm
  87.                         whether to overwrite the file.
  88.  
  89. PathMustExist   Bool    Setting this property to TRUE specifies that the
  90.                         user can type only valid paths.
  91.  
  92. FileOffset      Integer After the dialog box exits this property contains
  93.                         a zero-based offset from the beginning of the path
  94.                         to the filename specified by the File property.
  95.  
  96. ExtOffset       Integer After the dialog box exits this property contains
  97.                         a zero-based offset from the beginning of the
  98.                         path to the filename extension specfied by the File
  99.                         property.
  100.  
  101. ******************************** BUG FIXES *********************************
  102.  
  103.  
  104. I'll try to fix whatever problems are found with this control. Send
  105. your complaints to me at CompuServe 72060,3327 or
  106.  
  107.  
  108.         Zane Thomas
  109.         POB 300
  110.         Indianola, WA 98342
  111.